package com.zhiche.lisa.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class TmsProperties {

    @Value("${integration.url}")
    private String integrationhost;
    @Value("${lisa.socketTimeout}")
    private Integer socktTimeOut;
    @Value("${lisa.isSendToOTM}")
    private boolean isSendToOTM;
    @Value("${lisa.isSendToERP}")
    private boolean isSendToERP;
    @Value("${lisa.bms.exportShipToBMS}")
    private String exportShipToBMS;


    public String getExportShipToBMS() {
        return exportShipToBMS;
    }

    public void setExportShipToBMS(String exportShipToBMS) {
        this.exportShipToBMS = exportShipToBMS;
    }

    public String getIntegrationhost() {
        return integrationhost;
    }

    public void setIntegrationhost(String integrationhost) {
        this.integrationhost = integrationhost;
    }

    public Integer getSocktTimeOut() {
        return socktTimeOut;
    }

    public void setSocktTimeOut(Integer socktTimeOut) {
        this.socktTimeOut = socktTimeOut;
    }

    public boolean isSendToOTM() {
        return isSendToOTM;
    }

    public void setSendToOTM(boolean sendToOTM) {
        isSendToOTM = sendToOTM;
    }

    public boolean isSendToERP() {
        return isSendToERP;
    }

    public void setSendToERP(boolean sendToERP) {
        isSendToERP = sendToERP;
    }
}
